
/** 排序.
 * */
export default function arraySort<T>(array: T[], compare: (x: T, y: T) => number): T[] {
    return array
      .map((row) => {
          return row
      })
      .sort(compare)
}
